<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/7/22
  Time: 10:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../assets/css/layui.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
    <link rel="icon" href="/favicon.ico">
    <script src="../js/jquery-1.11.1.js"></script>
    <script src="../js/bootstrap.js"></script>
    <link rel="stylesheet" href="../css/bootstrap.css"/>
    <title>快递e栈管理后台</title>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header custom-header">

        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item slide-sidebar" lay-unselect>
                <a href="#" class="icon-font" ><i class="ai ai-menufold"></i></a>
            </li>
        </ul>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="#" onmouseover="showDropWindowAdmin()">${sessionScope.username}</a>
                <dl class="layui-nav-child" id="dl-drop-admin" onmouseleave="showDropWindowAdmin()">
                    <dd><a href="/XZK-JAVA-主线任务-0107-快递e栈编码实现.pdf" target="_blank">帮助中心</a></dd>
                    <dd><a href="/admin/loginOut.do?userName=${sessionScope.username}&pwd=${sessionScope.pwd}">退出</a>
                    </dd>
                </dl>
            </li>
        </ul>
    </div>

    <div class="layui-side custom-admin " >
        <div class="layui-side-scroll">
            <div class="custom-logo">
                <img src="../assets/images/logo.gif" alt=""/>
                <h1>快递e栈</h1>
            </div>
            <ul id="Nav" class="layui-nav layui-nav-tree">
                <li class="layui-nav-item">
                    <a href="https://www.kaikeba.com/" target="content" onclick="showDropWindowConsole()">
                        <i class="layui-icon">&#xe68e;</i>
                        <em>主页</em>
                    </a>
                    <dl class="layui-nav-child" id="dl-drop-console">
                        <dd><a href="/admin/console.jsp" target="content"><i class="layui-icon">&#xe665;</i> 控制台</a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="#" onclick="showDropWindowCourier()">
                        <i class="layui-icon">&#xe664;</i>
                        <em>快递员管理</em>
                    </a>
                    <dl class="layui-nav-child" id="dl-drop-courier">
                        <dd><a href="/admin/courier/list.jsp" target="content"><i class="layui-icon">&#xe60a;</i> 快递员列表</a>
                        </dd>
                        <dd><a href="/admin/courier/add.jsp" target="content"><i class="layui-icon">&#xe654;</i>
                            快递员录入</a></dd>
                        <dd><a href="/admin/courier/update.jsp" target="content"><i class="layui-icon">&#xe642;</i>
                            快递员修改</a></dd>
                        <dd><a href="/admin/courier/delete.jsp" target="content"><i class="layui-icon">&#xe640;</i>
                            快递员删除</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="#" onclick="showDropWindowDelivery()">
                        <i class="layui-icon">&#xe857;</i>
                        <em>快件管理</em>
                    </a>
                    <dl class="layui-nav-child" id="dl-drop-delivery">
                        <dd><a href="/admin/delivery/list.jsp" target="content"><i class="layui-icon">&#xe60a;</i> 快件列表</a>
                        </dd>
                        <dd><a href="/admin/delivery/add.jsp" target="content"><i class="layui-icon">&#xe654;</i>
                            快件录入</a></dd>
                        <dd><a href="/admin/delivery/update.jsp" target="content"><i class="layui-icon">&#xe642;</i>
                            快件修改</a></dd>
                        <dd><a href="/admin/delivery/delete.jsp" target="content"><i class="layui-icon">&#xe640;</i>
                            快件删除</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="#" onclick="showDropWindowUser()">
                        <i class="layui-icon">&#xe770;</i>
                        <em>用户管理</em>
                    </a>
                    <dl class="layui-nav-child" id="dl-drop-user">
                        <dd><a href="/admin/user/list.jsp" target="content"><i class="layui-icon">&#xe60a;</i> 用户列表</a>
                        </dd>
                        <dd><a href="/admin/user/add.jsp" target="content"><i class="layui-icon">&#xe654;</i> 用户增加</a>
                        </dd>
                        <dd><a href="/admin/user/update.jsp" target="content"><i class="layui-icon">&#xe642;</i>
                            用户修改</a></dd>
                        <dd><a href="/admin/user/delete.jsp" target="content"><i class="layui-icon">&#xe640;</i>
                            用户删除</a></dd>
                    </dl>
                </li>
            </ul>

        </div>
    </div>

    <div class="layui-body ">
        <div class="layui-tab app-container" lay-allowClose="true" lay-filter="tabs">
            <ul id="appTabs" class="layui-tab-title custom-tab" >
                <li>
                    <a href="/admin/map.jsp" target="content"  >快递图</a>
                </li>
            </ul>
            <%--<ul class="nav nav-tabs">--%>
                <%--<li>--%>
                    <%--<a href="/admin/map.jsp" target="map" data-toggle="tab">快递图</a>--%>
                <%--</li>--%>
            <%--</ul>--%>
            <div id="appTabPage" class="layui-tab-content">
                <IFRAME src="https://www.kaikeba.com/" name="content" width="100%" height="100%"
                        frameborder="no"></IFRAME>
            </div>
        </div>
    </div>

    <div class="layui-footer">
        <p>©2020 <a href="https://gitee.com/zhang-chengzhe/ExpressE" target="_blank">ExpreeE版权声明</a></p>
    </div>

    <div class="mobile-mask"></div>
</div>
<script>


    function showDropWindowAdmin() {
        $('#dl-drop-admin').toggle();
    }

    function showDropWindowCourier() {
        $('#dl-drop-courier').toggle();
    }

    function showDropWindowUser() {
        $('#dl-drop-user').toggle();
    }

    function showDropWindowDelivery() {
        $("#dl-drop-delivery").toggle();
    }

    function showDropWindowConsole() {
        $("#dl-drop-console").toggle();
    }
</script>
<script src="../assets/layui.js"></script>
<script src="../js/index.js" data-main="home"></script>
</body>
</html>
